package com.dd.web.securities.service;

import com.dd.web.securities.constant.ExchangeEnum;
import com.dd.web.securities.entity.Candle.CandleData;
import com.dd.web.securities.entity.IndiceLineDataVo;

import java.util.List;

/**
 * 查询指数服务类
 */
public interface IndicesService {


    /**
     * 获取指定指数历史收盘点位数据
     * @return
     */
    public List<IndiceLineDataVo> queryLineDataList();


    /**
     * 获取单只股票分时交易数据
     * @param exchangeEnum 所属交易所
     * @param code 股票代码
     * @return 股票分时交易数据
     */
    public CandleData queryCandleData(ExchangeEnum exchangeEnum,String code);


}
